<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	
	<xsl:template match="*"></xsl:template>
	
	<xsl:template match="content">
		<h2>Неслучайные экспонаты</h2>
		<a href="/list/">Список</a>
		<p><xsl:apply-templates select="object" mode="html"/></p>
		<br clear="both"/>
	</xsl:template>
	

	<xsl:template match="object" mode="html">
		<div style="float: left; margin: 1em">
			<div>экспонат № <xsl:value-of select="@id" /></div>
			<a href="/show/{@id}"><img src="/images/{oCard/@table}/{oCard/oImage/object/oFile/name/text()}" height="100" width="150" /></a>
		</div>
	</xsl:template>


</xsl:stylesheet>